package com.haier.npt.security.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;


/**
 * @Description:角色人员关系
 * @author: lixu
 * @date:   2018年7月13日 下午3:08:02   
 */
@TableName("sys_role_member_re")
public class SysRoleMemberRe {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 关联sys_ member id 字段
     */
    @TableField("member_id")
    private Long memberId;
    /**
     * 角色id关联 sys_role 字段
     */
    @TableField("role_id")
    private Long roleId;
    /**
     * 创建时间
     */
    @TableField("createdate")
    private Date createDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

}
